<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <script>
        // ...arr = 剩余的属性
        let arr1 = [1, 2, 3]
        let arr2 = [4, 5, 6]
        let arr3 = arr1
        console.log(arr3);

        let arr = [1,23,4,5,5,5]

        show(...arr);

        function show(a,b,c,...arr) {
            alert(a);
            alert(b);
            alert(c);
            alert(arr);
        }
    </script>
</body>

</html>